{# Overseer > Deployments: where it runs (the provider this server is on, and where this project deploys to when the provision record is here), every provider aegis knows as a card (the one in use marked; a card's command and token show when it is picked), the live build and the host (overseer_deployments). #} {% from "components/macros/layout.html" import avatar, card, command, facts %} {% macro where(title, place) %} {% call card(title) %}
{{ avatar(place.name, place.logo, "lg") }} {{ place.name }} {% if place.console %}Open console{% endif %}
{{ facts(place.facts) }} {% endcall %} {% endmacro %}
{{ where("Running on", running) }} {% if target %}{{ where("Deploys to", target) }}{% endif %}
{% set picked = (providers|selectattr("current")|first or providers[0]).key %} {% call card("Where it can run") %}
{% for p in providers %} {% endfor %}
{% for p in providers %}

{{ command(p.command) }}

{% if p.token %}

Reads {{ p.token }} from your environment; the token never leaves your machine.

{% endif %}
{% endfor %}
{% endcall %}
{% call card("Now") %}{{ facts(now) }}{% endcall %} {% call card("Host") %} {% if host.note %}

{{ host.note }}

{% else %}{{ facts(host.facts) }}{% endif %} {% endcall %}